import request from "../utils/request"

/**
 * 查询物业工作计划
 */
export function getRotation(commid,pwppid,planningCycleItem,planClassificationItem,sortItem){
    const url = "/propertyWorkPlan/selectPropertyWorkPlanByCommIdAndPwppId";
    const data = {
        commId:commid,
        pwppId:pwppid,
        planClassificationItem:planClassificationItem,
        planningCycle:planningCycleItem,
        sortItem:sortItem
    };
    return request(url,data,"POST");
}

/**
 * 查询工作计划类型
 */
export function getPropertyWorkPlanType(){
    const url = "/propertyWorkPlanType/getPropertyWorkPlanType";

    return request(url);
}